//
//  RBGServiceAnnonce.h
//  BateauGenerique
//
//  Created by Kevin De Jesus Ferreira on 31/05/2014.
//  Copyright (c) 2014 Kevin De Jesus Ferreira. All rights reserved.
//

#import <Foundation/Foundation.h>

@protocol RBGServiceAnnonceDelegate

@required

- (void) receiveDonneesAnnonce:(id)donnees
                      andType :(int)typeDonnees;

- (void) receiveErreurAnnonce:(int)statut;


@end

@interface RBGServiceAnnonce : NSObject

@property (nonatomic,strong) id delegate;

-(void) getAnnonces:(NSString *)url
            andPage:(int)page
       andArguments:(NSMutableDictionary *) args;

-(void) getFavoris:(NSDictionary*)favoris;


-(void)getAnnonce:(NSString*)annonceId forType:(NSInteger)type;

-(void) onDemand:(NSMutableDictionary *)arguments;
-(void) envoieEmail:(NSMutableDictionary *)arguments;
@end
